//
//  MyContactsModel.m
//  绿地管理系统
//
//  Created by rimi on 16/1/25.
//  Copyright © 2016年 hexs. All rights reserved.
//

#import "MyContactsModel.h"
#import "NetWorkingManager+People.h"

@interface MyContactsModel ()

@property (nonatomic, strong) id myPeopleList;

@end

@implementation MyContactsModel

- (void)getdata
{
    [NetWorkingManager myPeopleListWithPageIndex:1 successHandler:^(id responseObj) {
        NSLog(@"%@",responseObj);
        self.myPeopleList = responseObj;
    } failureHandler:^(NSError *error) {
//        NSLog(@"%@",error);
        self.myPeopleList = [NSNull null];
    }];
}

@end
